package Operation;

import Book.BookList;

public class ShowOperation implements IOperation{
    @Override
    public void work(BookList bookList) {
        for (int i = 0; i < bookList.getBookSize(); i++){
            System.out.println(bookList.getBook(i));
        }
        System.out.println("共" + bookList.getBookSize() + "本。");
    }
}
